                 <!-- /.box-header -->
<div class="box-body">
    <button type="button" onclick="$('.modal-dialog').css('width','1000px');HF.showDialog('${base}/admin/payLog/operate_yj?id=${riderId?c}')"
            class="btn btn-primary">交押金
    </button>
    <button type="button" onclick="$('.modal-dialog').css('width','1000px');HF.showDialog('${base}/admin/payLog/operate_cz?id=${riderId?c}')"
            class="btn btn-primary">充值
    </button>
    <table class="table table-bordered">
        <tr>
            <th>SequenceNo</th>
            <th>骑手Name</th>
            <th>手机号</th>
            <th>缴费类型</th>
            <th>金额</th>
            <th>Note1</th>
            <th>Note2</th>
            <th>日期</th>

        </tr>
        <#if list??&&list?size gt 0>
        <#list list as t>
        <tr>
            <td>${t_index+1}</td>
            <td>${(t.riderName)!""}</td>
            <td>${(t.phone)!""}</td>
            <td>${(t.catagory)!""}</td>
            <td>${(t.payMoney)!""}</td>
            <td>${(t.packageName)!""}</td>
            <td><input name="memo" value='${(t.memo)!""}' onblur="saveMemo(this,'${t.id?c}')"></td>
            <td>${nav.getDate((t.createDate)!0)}</td>

        </tr>
    </#list>
    <#else>
    <td colspan="11" align="center">no record!</td>
</#if>
</table>
                 <script>
                     function saveMemo(obj,id) {
                             $.ajax({
                                 type: "POST",
                                 url: "${base}/admin/rider/savePayLogMemo",
                                 data:{
                                     memo:obj.value,
                                     id:id
                                 },
                                 dataType: "json",
                                 success: function(data){
                                     $(obj).css("color", "green");
                                     // alert("设置 Success");
                                     //document.location.reload();
                                 },
                                 error:function(){
                                     $(obj).css("color", "red");
                                     // alert("系统未知异常!");
                                 }
                             });
                     }
                 </script>
</div>